#include<stdio.h>
#include<string.h>
#include<unistd.h>

int main()
{
    //c库函数
    printf("hello printf\n");
    fprintf(stdout,"hello fprintf\n");
    const char *message = "hello fwrite\n";
    fwrite(message,1,strlen(message),stdout);

    //系统调用
    const char *w = "hello write\n";
    write(1,w,strlen(w));

    //创建子进程
    fork();

    return 0;
}
